package com.ruoyi.yljf.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BasePlusEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户会员记录对象 yljf_user_vip
 * 
 * @author TAT
 * @date 2025-04-11
 */
@Data
@TableName(value = "yljf_user_vip")
public class UserVip   {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 生效开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生效开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 过期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "过期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expirationTime;

    /** 购买金额 */
    @Excel(name = "购买金额")
    private BigDecimal price;

    /** 0:代付款   1：已付款 */
    @Excel(name = "0:代付款   1：已付款")
    private String statu;

    /** ali-支付宝  wx-微信 */
    @Excel(name = "ali-支付宝  wx-微信")
    private String payMethod;

}
